package com.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Cash_apply implements Serializable {
    private Integer id;

    private Integer memberid;

    private BigDecimal amount;

    private Date creaettime;

    private Byte paytype;

    private String aliaccount;

    private String realname;

    private String bankname;

    private String bankaccount;

    private String bankplace;

    private Byte status;

    private Float prop;

    private BigDecimal tax;

    private BigDecimal payamount;

    private Integer checkuserid;

    private Date checktime;

    private Byte category;

    private Integer cityid;

    private String checkcontent;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMemberid() {
        return memberid;
    }

    public void setMemberid(Integer memberid) {
        this.memberid = memberid;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Date getCreaettime() {
        return creaettime;
    }

    public void setCreaettime(Date creaettime) {
        this.creaettime = creaettime;
    }

    public Byte getPaytype() {
        return paytype;
    }

    public void setPaytype(Byte paytype) {
        this.paytype = paytype;
    }

    public String getAliaccount() {
        return aliaccount;
    }

    public void setAliaccount(String aliaccount) {
        this.aliaccount = aliaccount == null ? null : aliaccount.trim();
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public String getBankname() {
        return bankname;
    }

    public void setBankname(String bankname) {
        this.bankname = bankname == null ? null : bankname.trim();
    }

    public String getBankaccount() {
        return bankaccount;
    }

    public void setBankaccount(String bankaccount) {
        this.bankaccount = bankaccount == null ? null : bankaccount.trim();
    }

    public String getBankplace() {
        return bankplace;
    }

    public void setBankplace(String bankplace) {
        this.bankplace = bankplace == null ? null : bankplace.trim();
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Float getProp() {
        return prop;
    }

    public void setProp(Float prop) {
        this.prop = prop;
    }

    public BigDecimal getTax() {
        return tax;
    }

    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }

    public BigDecimal getPayamount() {
        return payamount;
    }

    public void setPayamount(BigDecimal payamount) {
        this.payamount = payamount;
    }

    public Integer getCheckuserid() {
        return checkuserid;
    }

    public void setCheckuserid(Integer checkuserid) {
        this.checkuserid = checkuserid;
    }

    public Date getChecktime() {
        return checktime;
    }

    public void setChecktime(Date checktime) {
        this.checktime = checktime;
    }

    public Byte getCategory() {
        return category;
    }

    public void setCategory(Byte category) {
        this.category = category;
    }

    public Integer getCityid() {
        return cityid;
    }

    public void setCityid(Integer cityid) {
        this.cityid = cityid;
    }

    public String getCheckcontent() {
        return checkcontent;
    }

    public void setCheckcontent(String checkcontent) {
        this.checkcontent = checkcontent == null ? null : checkcontent.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Cash_apply other = (Cash_apply) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getMemberid() == null ? other.getMemberid() == null : this.getMemberid().equals(other.getMemberid()))
            && (this.getAmount() == null ? other.getAmount() == null : this.getAmount().equals(other.getAmount()))
            && (this.getCreaettime() == null ? other.getCreaettime() == null : this.getCreaettime().equals(other.getCreaettime()))
            && (this.getPaytype() == null ? other.getPaytype() == null : this.getPaytype().equals(other.getPaytype()))
            && (this.getAliaccount() == null ? other.getAliaccount() == null : this.getAliaccount().equals(other.getAliaccount()))
            && (this.getRealname() == null ? other.getRealname() == null : this.getRealname().equals(other.getRealname()))
            && (this.getBankname() == null ? other.getBankname() == null : this.getBankname().equals(other.getBankname()))
            && (this.getBankaccount() == null ? other.getBankaccount() == null : this.getBankaccount().equals(other.getBankaccount()))
            && (this.getBankplace() == null ? other.getBankplace() == null : this.getBankplace().equals(other.getBankplace()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getProp() == null ? other.getProp() == null : this.getProp().equals(other.getProp()))
            && (this.getTax() == null ? other.getTax() == null : this.getTax().equals(other.getTax()))
            && (this.getPayamount() == null ? other.getPayamount() == null : this.getPayamount().equals(other.getPayamount()))
            && (this.getCheckuserid() == null ? other.getCheckuserid() == null : this.getCheckuserid().equals(other.getCheckuserid()))
            && (this.getChecktime() == null ? other.getChecktime() == null : this.getChecktime().equals(other.getChecktime()))
            && (this.getCategory() == null ? other.getCategory() == null : this.getCategory().equals(other.getCategory()))
            && (this.getCityid() == null ? other.getCityid() == null : this.getCityid().equals(other.getCityid()))
            && (this.getCheckcontent() == null ? other.getCheckcontent() == null : this.getCheckcontent().equals(other.getCheckcontent()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getMemberid() == null) ? 0 : getMemberid().hashCode());
        result = prime * result + ((getAmount() == null) ? 0 : getAmount().hashCode());
        result = prime * result + ((getCreaettime() == null) ? 0 : getCreaettime().hashCode());
        result = prime * result + ((getPaytype() == null) ? 0 : getPaytype().hashCode());
        result = prime * result + ((getAliaccount() == null) ? 0 : getAliaccount().hashCode());
        result = prime * result + ((getRealname() == null) ? 0 : getRealname().hashCode());
        result = prime * result + ((getBankname() == null) ? 0 : getBankname().hashCode());
        result = prime * result + ((getBankaccount() == null) ? 0 : getBankaccount().hashCode());
        result = prime * result + ((getBankplace() == null) ? 0 : getBankplace().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getProp() == null) ? 0 : getProp().hashCode());
        result = prime * result + ((getTax() == null) ? 0 : getTax().hashCode());
        result = prime * result + ((getPayamount() == null) ? 0 : getPayamount().hashCode());
        result = prime * result + ((getCheckuserid() == null) ? 0 : getCheckuserid().hashCode());
        result = prime * result + ((getChecktime() == null) ? 0 : getChecktime().hashCode());
        result = prime * result + ((getCategory() == null) ? 0 : getCategory().hashCode());
        result = prime * result + ((getCityid() == null) ? 0 : getCityid().hashCode());
        result = prime * result + ((getCheckcontent() == null) ? 0 : getCheckcontent().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", memberid=").append(memberid);
        sb.append(", amount=").append(amount);
        sb.append(", creaettime=").append(creaettime);
        sb.append(", paytype=").append(paytype);
        sb.append(", aliaccount=").append(aliaccount);
        sb.append(", realname=").append(realname);
        sb.append(", bankname=").append(bankname);
        sb.append(", bankaccount=").append(bankaccount);
        sb.append(", bankplace=").append(bankplace);
        sb.append(", status=").append(status);
        sb.append(", prop=").append(prop);
        sb.append(", tax=").append(tax);
        sb.append(", payamount=").append(payamount);
        sb.append(", checkuserid=").append(checkuserid);
        sb.append(", checktime=").append(checktime);
        sb.append(", category=").append(category);
        sb.append(", cityid=").append(cityid);
        sb.append(", checkcontent=").append(checkcontent);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}